package com.greyu.ysj.service;

import java.util.List;

import com.greyu.ysj.entity.CbtCoininfo;
import com.greyu.ysj.entity.CbtInvest;
import com.greyu.ysj.entity.CbtRecharge;
import com.greyu.ysj.entity.User;
import com.greyu.ysj.model.ResultModel;

public interface CbtCoinInfoService {
		//获取单个数据的信息
		CbtCoininfo selectCoinInfoBycoinId(Integer coinId);
		//save
		ResultModel save(CbtCoininfo cbtCoininfo);
		
		CbtCoininfo selectCoinInfoBycoinSymbol(String coinSymbol);
		
		//首页币种列表
		List<CbtCoininfo> selectCoinList(Integer page, Integer rows,Integer userId);
		//
		int selectCoinCount();
		//
		List<CbtCoininfo> selectAllCoins();
		
		//用户投资记录
		List<CbtCoininfo> getInvestRecordByuserId(Integer page, Integer rows, Integer userId);
		//用户充值记录
		List<CbtCoininfo> getRechargeRecordByuserId(Integer page, Integer rows, Integer userId,Integer coinId);
		
		String selectCoinLocationBycoinId(Integer coinId);
		
		
}
